package com.huaxia.service.attend;

import com.huaxia.dao.attend.BranchAttendMapper;
import com.huaxia.dao.attend.BranchLayerAttendMapper;
import com.huaxia.dao.attend.SaleDeptAttendMapper;
import com.huaxia.dao.attend.SaleDeptLayerAttendMapper;
import com.huaxia.pojo.attend.BranchAttend;
import com.huaxia.pojo.attend.BranchLayerAttend;
import com.huaxia.pojo.attend.SaleDeptAttend;
import com.huaxia.pojo.attend.SaleDeptLayerAttend;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wangli 爱我华夏，爱我中华！
 * @date 2020/06/03 15:26
 */
@Service
public class AttendService {
    
    @Autowired
    private BranchAttendMapper branchAttendMapper;
    @Autowired
    private SaleDeptAttendMapper saleDeptAttendMapper;
    @Autowired
    private BranchLayerAttendMapper branchLayerAttendMapper;
    @Autowired
    private SaleDeptLayerAttendMapper saleDeptLayerAttendMapper;
    
    public List<BranchAttend> getBranchAttend(){
        return branchAttendMapper.getBranchAttend();
    }
    public List<SaleDeptAttend> getSaleDeptAttend(){
        return saleDeptAttendMapper.getSaleDeptAttend();
    }
    public List<BranchLayerAttend> getBranchLayerAttend(){
        return branchLayerAttendMapper.getBranchLayerAttend();
    }
    public List<SaleDeptLayerAttend> getSaleDeptLayerAttend(){
        return saleDeptLayerAttendMapper.getSaleDeptLayerAttend();
    }
    
    
}
